Temperature logger

Temperature logger

Abstract

This self contained unit measures the outdoor temperature twice per hour, and stores the reading together with date and time in an non-volatile memory. A serial interface allows further analyzing and presentation of the logged data on a PC.

Background

The living memory is about six months, and I wanted to know for sure whether a particular summer or winter was warm or not. So here it is, the unit that has stored > 160 000 temperature readings around my home since 2004.

Features

Details

ATMEGA8 microcontroller, M24256 serial EEPROM, 2 x DS1620 digital temperature sensors. MC68HC68T1 real-time clock and calendar, 2 x 16 characters alphanumeric LCD.

Using my custom application, I can read the current indoor / outdoor value, set the clock, read, save and clear EEPROM memory. A custom protocol with checksum calculation is used when communicating with the device. As seen below, it is true that the coldest time is before the sun rises.

When combined with another project, that has a serial port and a Ethernet interface, it is even possible to read the temperature over the internet.

Temperature logger application software

The graph below is plotted in Matlab. The fast variations that are seen is the temperature difference between day and night.

Temperature graph